#include<iostream>
#include<stack>
using namespace std;

int main(){
	
	stack<int> stk;
	stk.push(1);
	stk.push(2);

	stk.pop();
	cout<<stk.top()<<endl;

	return 0;
}
